#!/bin/bash
# Docker构建和运行脚本

echo "=== 构建Docker镜像 ==="
docker build -t webpage-to-wechat .

echo ""
echo "=== 运行容器 ==="
docker run --rm \
  -v $(pwd):/app \
  webpage-to-wechat

echo ""
echo "=== 完成 ==="
echo "截图文件: $(pwd)/screenshot.png"
